const mongoose = require('./config')
const sysSchema = require('./schema/sysSchema')
const chapCodeSchema = require('./schema/chapCode')
const imgSchema = require('./schema/imgSchema')

const SysModel = mongoose.model('System', sysSchema)
const ChapCodeModel = mongoose.model('ChapCodeModel', chapCodeSchema)
const ImgModel = mongoose.model('ImgModel', imgSchema)

module.exports = { SysModel, ChapCodeModel, ImgModel }
